<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="css/index.css" />

<title>用户登录</title>
</head>
<body>
	<p style="color: red" align="center">${err}</p>
	<% 
	session.removeAttribute("currentUser");
session.invalidate();
//out.print("<script>alert('用户即将退出，确定后退出该页面。');window.location.href='login.jsp'</script>");
%>
	<form action="./login.do" method="post" >
		<div  align="center">
			<div  class="juzhong"  style="width: 100%;height: 40px;line-height: 40px;font-size:30px;background-color:rgb(245,245,245);margin-bottom: 30px;">博客登陆</div>
		<div  align="center" style="margin-bottom: 25px;" >用户名：<input type="text" name="username"/></div>
		<div  align="center">&nbsp;&nbsp;&nbsp;密码：<input type="password" name="password"/></div>
		<input type="submit" value="登陆" style="margin-top: 25px;" />
		<a href="register.jsp"><input type="button" value="注册" style="margin-top: 25px;" /></a>
		</div>
		
	</form>
	<hr style="width:100%;height:3px;left:0px;top:0px;margin-top:350px;text-align:center;">
	<div style="width:100%;height:50px;left:0px;top:0px;margin-top:1px;text-align:center;">版权归戴辰飞所有;Copyright © 2017 引众科技公司版权所有</div>
</body>
</html>